<div class="row">
    <div class="col-xs-12">
        <div class="panel panel-midnightblue">
            <div class="panel-body">
                <form action="" class="form-horizontal row-border"  data-validate="parsley" id="validate-form">
                	<div class="row">
                		 <div class="form-group">
                    		<label class="col-sm-3 control-label" >选择会员:</label>
                    		<div class="col-sm-8">
                    			<input type="text" class="form-control" value="{$member_info}"  readonly="readonly"/>
                    		</div>
                   		 </div>
                   		 <div class="form-group">
                    		<label class="col-sm-3 control-label" >选择预约租柜:</label>
                    		<div class="col-sm-8">
                    			<select class="default" id="cabinet_id" name="cabinet_id" required="required"  style="width: 100%;">
                    				{foreach name="cabinets" item="v"}
                    					<option value="{$v.id}" {eq name="$model.cabinet_id" value="$v.id"}selected{/eq}>{$v.text}</option>
                    				{/foreach}
                    			</select>
                    		</div>
                   		 </div>
                   		<div class="form-group">
                    		<label class="col-sm-3 control-label" >押金:</label>
                    		<div class="col-sm-8">
                    			<input type="text"   placeholder="押金"   required="required" value="{$model.money}"  name="money" data-type = "money" class="form-control" id="money" />
                    		</div>
                   		</div>
                   		
                   		<div class="form-group">
		                    		<label class="col-sm-3 control-label" >预约开始:</label>
		                    		<div class="col-sm-8">
		                    			<!--http://bootstrap-datepicker.readthedocs.io/en/latest/options.html-->
		                    			<input type="text"  id="start-date" name="start_date" value="{$model.start_date}"  class="form-control datepicker">
		                    		</div>
		                </div>
	                    <div class="form-group">
	                    		<label class="col-sm-3 control-label" >预约结束:</label>
	                    		<div class="col-sm-8">
	                    			<!--http://bootstrap-datepicker.readthedocs.io/en/latest/options.html-->
	                    			<input type="text"  id="end-date" name="end_date" data-bigto="#start-date"  value="{$model.start_date}"  class="form-control datepicker">
	                    		</div>
	                    </div>
                   		 
                   		  <div class="form-group">
                   		  	<label class="col-sm-3 control-label" >描述:</label>
                    		<div class="col-sm-8">
                    			<textarea class="form-control" name="descs">{$model.descs}</textarea>
                    		</div>
                   		  </div>
                	</div>
                	<input type="hidden" value="{$model.id}" name="id"/>
                	
                </form>
            </div>
            <div class="panel-footer">
                <div class="row">
                    <div class="col-sm-8 col-sm-offset-3">
                        <div class="btn-toolbar">
                            <button class="btn-primary btn" id="form-submit">提交</button>
                            <button class="btn-default btn" data-dismiss="modal">关闭</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type='text/javascript' src='{$Think.GYM_VIEW_JS}gym_cabinet_subscribe/edit.js'></script>